package com.sunfield.windpower.bean;

/**
 * Created by wxl on 2017/2/8.
 */

public class MessageInfo {

    public static final int TYPE_OFFICIAL = 1;
    public static final int TYPE_PERSON = 2;

    String id;
    String title;
    String content;
    String date;
    String image;
    int type;
    String headUrl;
    String url;

    public MessageInfo(String id, String title, String content, String date, String image, int type, String headUrl) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.date = date;
        this.image = image;
        this.type = type;
        this.headUrl = headUrl;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
